package com.xhb.biz.job;

import com.xhb.ui.proxy.ProxyManager;
import org.noear.solon.annotation.Component;
import org.noear.solon.schedule.annotation.Scheduled;

/***
 * 代理刷新
 * 每30分钟触发一次
 */
@Component
@Scheduled(cron = "0 0/30 * * * ? ")
public class ProxySyncJob implements Runnable {

    @Override
    public void run() {
        ProxyManager.loadSettings();
    }
}
